home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Updaters / WhiteCap 3.2.2.sea / WhiteCap 3.2.2 / (into Visual Plug-ins) / WhiteCap Configs / TriPoles < prev    next >
Text File  |  1999-09-06  |  3KB  |  141 lines

  1. // TriPoles                By Mavelick       1999.8.14  (9.3 remake)
  2. //                         mailto:mavelick@amp.office.ne.jp
  3. //                         website http://www.aaw.mtci.ne.jp/~mavelick/
  4.  
  5.  
  6. Resn=20,
  7.  
  8. Durn="0.4",
  9.  
  10. CamX="110",
  11. CamY="0",
  12. CamZ="-20",
  13.  
  14. CmLX="0",
  15. CmLY="0",
  16. CmLZ="50",
  17.  
  18. CUpX="0",
  19. CUpY="0",
  20. CUpZ="1",
  21.  
  22. A0="0.5 * NUM_SAMPLE_BINS",  
  23. A1="1.0 * NUM_SAMPLE_BINS",
  24. A2="1.5 * NUM_SAMPLE_BINS",
  25. A3="2.0 * NUM_SAMPLE_BINS",
  26. A4="2.5 * NUM_SAMPLE_BINS",
  27. A5="3.0 * NUM_SAMPLE_BINS",
  28.  
  29. A6="1/NUM_SAMPLE_BINS",
  30. A7="2/NUM_SAMPLE_BINS",
  31. A8="3/NUM_SAMPLE_BINS",
  32. A9="4/NUM_SAMPLE_BINS",
  33.  
  34.  
  35.  
  36. D0="a0*s-.75",   // a0*(s-2/a0)/2+0.25
  37. D1="clip(2*trwv( d0       )-1)",
  38. D2="clip(2*trwv( d0 -  .5 )-1)",
  39. D3="clip(2*trwv( d0 - 1.0 )-1)",
  40. D4="clip(2*trwv( d0 - 1.5 )-1)",
  41. D5="clip(2*trwv( d0 - 2.0 )-1)",
  42.  
  43.  
  44.  
  45. D6="4 * d3 * ( d2 + d4 )",
  46. D7="d6 * clip(3*mag(s))",
  47. C0="(1-2*dt)",
  48.  
  49. R="d7",
  50. G="d7",
  51. B="d6*C0",
  52.  
  53.  
  54. widt=420,heig=280,
  55.  
  56.  
  57. ConL=0,ConB=1,
  58. LWdt="1",
  59.  
  60. Fall="0.1",
  61.  
  62.  
  63.  
  64.  
  65. D8="2*trwv(a0*s+0.25)-1",
  66. D9="2*trwv(a0*s+.75)-1",
  67. D10="2*trwv(a0*s-.25)-1",
  68.  
  69.  
  70.  
  71. D11="
  72. clip(D8)*clip(D9)
  73. *(mag(s)+mag(s+a6)+mag(s+a7)+mag(s+a8))/4
  74. +clip(D8)*clip(D10)
  75. *(mag(s-a6)+mag(s)+mag(s+a6)+mag(s+a7))/4
  76. +clip(-D8)*clip(-D9)
  77. *(mag(s-a7)+mag(s-a6)+mag(s)+mag(s+a6))/4
  78. +clip(-D8)*clip(-D10)
  79. *(mag(s-a8)+mag(s-a7)+mag(s-a6)+mag(s))/4
  80. ",
  81.  
  82.  
  83.  
  84.  
  85. A10="5*(36/NUM_SAMPLE_BINS)",
  86.  
  87.  
  88. X="a10*sin( (.333*d1*d2+.666*d2*d3+d3*d4+.333*d4*d5+.10416666) * 25.132741228 )-5*sin(PI*s)",
  89. Y="a10*cos( (.5*d1*d2+.666*d2*d3+d3*d4+d4*d5+.10416666) * 25.132741228 )+80*s-40",
  90. Z="200*dt*d11+30",
  91.  
  92.  
  93. Scal="620",
  94. ScSz=1,
  95.  
  96. Pers="1",
  97.  
  98. Vers=30
  99.  
  100.  
  101. /*  Here's the orginal config guts before I collapsed constants and optimized it.
  102. -Andy
  103.  
  104.  
  105. A0="NUM_SAMPLE_BINS",
  106.  
  107. D0="4*clip(2*trwv(a0*(s-2/a0)/2+0.25)-1)*clip(2*trwv(a0*(s-3/a0)/2+0.25)-1)",
  108. D1="4*clip(2*trwv(a0*(s-3/a0)/2+0.25)-1)*clip(2*trwv(a0*(s-4/a0)/2+0.25)-1)",
  109. D2="4*clip(2*trwv(a0*(s-4/a0)/2+0.25)-1)*clip(2*trwv(a0*(s-5/a0)/2+0.25)-1)",
  110. D3="4*clip(2*trwv(a0*(s-5/a0)/2+0.25)-1)*clip(2*trwv(a0*(s-6/a0)/2+0.25)-1)",
  111.  
  112. R="(d1+d2)*(clip(3*mag(s)))",
  113. G="(d1+d2)*(clip(3*mag(s)))",
  114. B="(d1+d2)*(1-2*dt)",
  115.  
  116.  
  117. widt=420,heig=280,
  118.  
  119.  
  120. ConL=0,ConB=1,
  121. LWdt="1",
  122.  
  123. Fall="0.1",
  124.  
  125. D4="
  126. clip(2*trwv(a0*s/2+0.25)-1)*clip(2*trwv(a0*(s+1/a0)/2+0.25)-1)
  127. *(mag(s)+mag(s+1/a0)+mag(s+2/a0)+mag(s+3/a0))/4
  128. +clip(2*trwv(a0*s/2+0.25)-1)*clip(2*trwv(a0*(s-1/a0)/2+0.25)-1)
  129. *(mag(s-1/a0)+mag(s)+mag(s+1/a0)+mag(s+2/a0))/4
  130. +clip(-2*trwv(a0*s/2+0.25)+1)*clip(-2*trwv(a0*(s+1/a0)/2+0.25)+1)
  131. *(mag(s-2/a0)+mag(s-1/a0)+mag(s)+mag(s+1/a0))/4
  132. +clip(-2*trwv(a0*s/2+0.25)+1)*clip(-2*trwv(a0*(s-1/a0)/2+0.25)+1)
  133. *(mag(s-3/a0)+mag(s-2/a0)+mag(s-1/a0)+mag(s))/4
  134. ",
  135.  
  136.  
  137.  
  138. X="-5*sin(PI*s)+5*(36/a0)*sin(2*PI*(d0*1/3+d1*2/3+d2*1+d3*1/3+5/12))",
  139. Y="5*(36/a0)*cos(2*PI*(d0*1/2+d1*2/3+d2*1+d3*1+5/12))+80*s-40",
  140. Z="200*dt*d4+30",
  141. */